package com.pojo;


import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class SysUser {

  private long id;//主键ID
  private String account;//账号
  private String realName;//真是姓名
  private String password;//密码
  private long sex;//性别（1:女、 2:男）
  private Date birthday;//出生日期（年-月-日）
  private String phone;//手机号码
  private String address;//用户地址
  private long roleId;//用户角色id
  private long createdUserId;//创建人
  @DateTimeFormat
  private Date createdTime;//创建时间
  private long updatedUserId;//修改人
  @DateTimeFormat
  private Date updatedTime;//修改时间
  private String idpicpath;//证件照路径

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getAccount() {
    return account;
  }

  public void setAccount(String account) {
    this.account = account;
  }

  public String getRealName() {
    return realName;
  }

  public void setRealName(String realName) {
    this.realName = realName;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public long getSex() {
    return sex;
  }

  public void setSex(long sex) {
    this.sex = sex;
  }

  public Date getBirthday() {
    return birthday;
  }

  public void setBirthday(Date birthday) {
    this.birthday = birthday;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public long getRoleId() {
    return roleId;
  }

  public void setRoleId(long roleId) {
    this.roleId = roleId;
  }

  public long getCreatedUserId() {
    return createdUserId;
  }

  public void setCreatedUserId(long createdUserId) {
    this.createdUserId = createdUserId;
  }

  public Date getCreatedTime() {
    return createdTime;
  }

  public void setCreatedTime(Date createdTime) {
    this.createdTime = createdTime;
  }

  public long getUpdatedUserId() {
    return updatedUserId;
  }

  public void setUpdatedUserId(long updatedUserId) {
    this.updatedUserId = updatedUserId;
  }

  public Date getUpdatedTime() {
    return updatedTime;
  }

  public void setUpdatedTime(Date updatedTime) {
    this.updatedTime = updatedTime;
  }

  public String getIdpicpath() {
    return idpicpath;
  }

  public void setIdpicpath(String idpicpath) {
    this.idpicpath = idpicpath;
  }
}

